home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 138 / 138.xpi / chrome / stumbleupon.jar / content / stumbleuponOverlay.xul < prev    next >
Extensible Markup Language  |  2010-01-22  |  25KB  |  737 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.  
  3. <?xml-styleshe href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://stumbleupon/content/skin/stumbleuponOverlay.css" type="text/css"?>
  5.  
  6. <!DOCTYPE window SYSTEM "chrome://stumbleupon/locale/stumbleupon.dtd" >
  7.  
  8. <overlay id="stumbleuponToolbar" 
  9.     xmlns:html="http://www.w3.org/1999/xhtml"
  10.     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  11.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.     orient="vertical">
  13.  
  14.  
  15. <popup id="contentAreaContextMenu">
  16.     <menuitem id="context-photoblog-ilikeit"
  17.         label="StumbleUpon PhotoBlog It!"
  18.         image="chrome://stumbleupon/content/skin/thumbup.png"
  19.         class="menuitem-iconic" 
  20.         oncommand="su_blogImage(1);"/>
  21.     <menuitem id="context-stumble-tagit" oncommand="su_contextTag()" insertafter="context-searchselect"/>
  22.     <menuitem id="context-stumble-search" oncommand="su_contextSearch(event)" insertafter="context-searchselect"/>
  23. </popup>
  24.  
  25. <menupopup id="view_toolbars_popup">
  26. <menuitem id="view_stumble_menuitem" 
  27.     label="&menu.stumbleupon;"
  28.     class="menuitem-iconic" 
  29.     type="checkbox"
  30.     oncommand="su_toggle_toolbar();"
  31.     persist="checked"/>
  32. </menupopup>
  33.  
  34. <keyset id="mainKeyset">
  35.     <key id="key_StumbleUpon:ToggleToolbar"
  36.         keycode="VK_F11"
  37.         modifiers="accel"
  38.         command="StumbleUpon:ToggleToolbar"
  39.         savedcommand="StumbleUpon:ToggleToolbar"/>
  40. </keyset>
  41.  
  42. <popupset id="mainPopupSet">
  43.     <popup id="su_intropopup" style="background:transparent;width:50px;height:50px;">
  44.     </popup>
  45. </popupset>
  46.  
  47. <!--
  48. <script type="application/x-javascript" src="datastore.js"/>
  49. <script type="application/x-javascript" src="migrate.js"/>
  50. <script type="application/x-javascript" src="prefetcher.js"/>
  51.  
  52. <hbox id="su_toolbar_info"
  53.     flex="1"
  54.     hidden="true">
  55.     <vbox>
  56.         <spacer height="15px"/>
  57.         <label value="bob"/>
  58.     </vbox>
  59. </hbox>
  60. -->
  61. <script type="application/x-javascript" src="stumbleuponOverlay.js"/>
  62.  
  63. <toolbarpalette id="BrowserToolbarPalette">
  64.     <toolbarbutton id="su_toggle"
  65.         class="chromeclass-toolbar-additional toolbarbutton-1"
  66.         label="StumbleUpon"
  67.         tooltiptext="StumbleUpon"
  68.         command="StumbleUpon:ToggleToolbar"/>
  69.     <toolbaritem id="su_toolbaritem">
  70.         <stack id="su_toolbar-stack"
  71.             flex="1">
  72.             <toolbarbutton class="su_toolbar-palette"
  73.                 image="chrome://stumbleupon/skin/thumbup.png"
  74.                 label="StumbleUpon Bar"/>
  75.             <hbox id="su_toolbar_container"
  76.                 class="su_toolbar-container"
  77.                 flex="1"/>
  78.             <hbox class="su_toolbar-customize"
  79.                 flex="1">
  80.                 <vbox>
  81.                     <spacer flex="1"/>
  82.                     <image src="chrome://stumbleupon/skin/stumble.png"
  83.                         width="16px"
  84.                         height="16px"/>
  85.                     <spacer flex="1"/>
  86.                 </vbox>
  87.                 <vbox flex="1">
  88.                     <spacer flex="1"/>
  89.                     <label id="su_toolbar_customize_label" value=""/>
  90.                     <spacer flex="1"/>
  91.                 </vbox>
  92.             </hbox>
  93.         </stack>    
  94.     </toolbaritem>
  95. </toolbarpalette>
  96. <!--
  97.             style="min-width:0px; width:0px;"
  98. -->
  99.  
  100. <toolbox id="navigator-toolbox">
  101. <toolbar id="stumbleupon" 
  102.     class="chromeclass-toolbar"
  103.     persist="collapsed,hidden" 
  104.     hidden="false" 
  105.     inherits="hidden"
  106.     collapsed="false"
  107.     toolbarname="StumbleUpon Toolbar (Ctrl-F11)"
  108.     savedtoolbarname="StumbleUpon Toolbar (Ctrl-F11)"
  109.     accesskey="S"
  110.     context="toolbar-context-menu"
  111.     customizable="true"
  112.     fullscreentoolbar="true"
  113.     defaultset="su_toolbaritem"
  114.     currentset="su_toolbaritem"
  115.     pack="start">
  116.  
  117. <stringbundleset id="stringbundleset">
  118.     <stringbundle id="bundle_stumble" src="chrome://stumbleupon/locale/stumbleupon.properties"/>
  119. </stringbundleset>
  120.  
  121. <commandset id="su_commandset">
  122.     <command id="StumbleUpon:Stumble"             oncommand="stumble(0);"/>
  123.     <command id="StumbleUpon:ViewReviews"         oncommand="su_website_info(0,'', 0);"/>
  124.     <command id="StumbleUpon:RateThumbup"         oncommand="su_rate(1, false, false, false, 0);"/>
  125.     <command id="StumbleUpon:RateThumbdown"       oncommand="su_rate(0, false, false, false, 0);"/>
  126.     <command id="StumbleUpon:Tag"                 oncommand="su_handle_tag_command(true);"/>
  127.     <command id="StumbleUpon:ToggleToolbar"       oncommand="su_toggle_toolbar();"/>
  128. <!--
  129.     <command id="StumbleUpon:RateThumbupDetailed" oncommand="su_rate(1, 0, 1, 1);"/>
  130. -->
  131. </commandset>
  132.  
  133. <keyset id="su_keyset"/>
  134.  
  135. <hbox id="su_container"
  136.     class="chromeclass-toolbar-additional"
  137.     hidden="true"
  138.     flex="1">
  139.  
  140. <toolbarbutton id="su_spacer" label="                    " collapsed="true"/>
  141.  
  142. <hbox id="su_splitter_first_flexbox"
  143.     collapsed="true"/>
  144.  
  145. <splitter id="su_splitter_first"
  146.     state="open"
  147.     class="chromeclass-toolbar-additional"
  148.     collapsed="true"
  149.     collapse="none"
  150.     resizebefore="grow"
  151.     resizeafter="grow"
  152.     onmousedown="su_handle_splitter_first_mousedown(event);"
  153.     onmouseup="su_handle_splitter_first_mouseup(event);"/>
  154.  
  155. <toolbarbutton id="su_start"
  156.     class="su-showtext"
  157.     onclick="clickstumble(event)"
  158.     tooltiptext="Create an account"
  159.     label="Start Stumbling..."
  160.     showlabel="Start Stumbling..."
  161.     image="chrome://stumbleupon/content/skin/stumble.png"/>
  162.  
  163. <toolbarbutton id="su_stumble"
  164.     collapsed="true"
  165.     class="su-showtext"
  166.     onclick="clickstumble(event)"
  167.     tooltiptext="Show next page"
  168.     showlabel="Stumble!"
  169.     label="Stumble!"
  170.     image="chrome://stumbleupon/content/skin/stumble.png"
  171.     image2=""
  172.     validate2="never"/>
  173.  
  174. <hbox id="su_login"
  175.     collapsed="true">
  176.     <vbox>
  177.         <spacer flex="1"/>
  178.         <label value=" or "/>
  179.         <spacer flex="1"/>
  180.     </vbox>
  181.     <toolbarbutton
  182.         class="su-showtext"
  183.         image="chrome://stumbleupon/content/skin/icon_signin.png"
  184.         oncommand="su_show_signin_dialog();"
  185.         showlabel="Sign-in"
  186.         label="Sign-in"/>
  187. </hbox>
  188.  
  189. <toolbarbutton id="su_referred"
  190.     collapsed="true"
  191.     class="su-showtext"
  192.     onclick="su_handle_referral_throbber_click(event);">
  193. </toolbarbutton>
  194.  
  195. <!--
  196. <vbox id="su_inbox-count"
  197.     collapsed="true"
  198.     onclick='su_handle_mode_click(event, "All");'>
  199.     <spacer flex="1"/>
  200.     <description id="su_inbox-count-label"
  201.         class="inbox"
  202.         value="10"
  203.         tooltiptext="&button.inbox-count.tooltip;"/>
  204.     <spacer flex="1"/>
  205. </vbox>
  206. -->
  207.  
  208. <toolbarbutton id="su_upgrade"
  209.     class="su-showtext"
  210.     collapsed="true"
  211.     tooltiptext="A new version of StumbleUpon is available.  Click here to upgrade."
  212.     image="chrome://stumbleupon/content/skin/upgrade.png"
  213.     oncommand="su_handle_upgrade_command();"/>
  214.  
  215. <toolbarbutton id="su_thumbup" 
  216.     class="su-showtext" 
  217.     collapsed="true" 
  218.     label="" 
  219.     showlabel="&button.ilikeit;" 
  220.     showlabel2="&button.ilikethem;"
  221.     onclick="su_handle_rate_click(event, 1)" 
  222.     onclick2="su_handle_rate_click(event, 1)" 
  223.     tooltiptext="Add to favorites, show more like this" 
  224.     showtooltiptext="Add to favorites, show more like this"/>
  225.  
  226. <toolbarbutton id="su_recthumbup" 
  227.     class="su-showtext" 
  228.     collapsed="true" 
  229.     label=""
  230.     showlabel="&button.ilikeit;" 
  231.     onclick="su_handle_rate_click(event, 2)" 
  232.     onclick2="su_handle_rate_click(event, 2)" 
  233.     tooltiptext="Recthumb 2" 
  234.     image="chrome://stumbleupon/content/skin/bug.png"/>
  235.  
  236. <toolbarbutton id="su_thumbdown"
  237.     class="su-hidetext"
  238.     collapsed="true"
  239.     oncommand="if (event.target == this) su_handle_rate_click(event, 0);"
  240.     oncommand2="if (event.target == this) su_handle_rate_click(event, 0);"
  241.     onclick=""
  242.     onclick2=""
  243.     tooltiptext="&button.notforme.tooltip;"
  244.     showtooltiptext="&button.notforme.tooltip;">
  245.     <menupopup onpopupshowing="su_prepare_thumbdown_menu();">
  246.         <menuitem id="su_thumbdown_menu_notforme"
  247.             label="&menu.notforme;"
  248.             type="checkbox" 
  249.             autocheck="false"
  250.             tooltiptext=""
  251.             oncommand="su_handle_rate_click(event, -2);" />
  252.         <menuseparator />
  253.         <menuitem id="su_thumbdown_menu_spam"
  254.             label="&menu.spam;"
  255.             type="checkbox"
  256.             authocheck="false"
  257.             tooltiptext=""
  258.             oncommand="su_handle_rate_click(event, -5);" />
  259.         <menuitem id="su_thumbdown_menu_dupe"
  260.             label="&menu.dupe;"
  261.             type="checkbox" 
  262.             autocheck="false"
  263.             tooltiptext=""
  264.             oncommand="su_handle_rate_click(event, -3);" />
  265.         <menuseparator
  266.             id="su_thumbdown_menu_separator"/>
  267.         <menuitem id="su_thumbdown_menu_blockdomain"
  268.             label="&menu.blockdomain;"
  269.             type="checkbox" 
  270.             tooltiptext=""
  271.             oncommand="su_block_domain();" />
  272.     </menupopup>
  273. </toolbarbutton>
  274.  
  275. <div id="su_separator_category"
  276.     style="height: 100%;"
  277.     collapsed="true">
  278.     <toolbarseparator
  279.         style="height: 100%;"/>
  280. </div>
  281.  
  282. <toolbarbutton id="su_category"
  283.     type="menu"
  284.     class="su-hideicon-showtext"
  285.     container="true"
  286.     collapsed="true"
  287.     label="All "
  288.     showlabel="All "
  289.     tooltiptext="Choose your stumble mode">
  290.     <menupopup/>
  291. </toolbarbutton>
  292.  
  293. <toolbarbutton 
  294.     id="su_stumble_topic_menu_left" 
  295.     class="su-hideicon-showtext" 
  296.     collapsed="true" 
  297.     label="" 
  298.     type="menu"
  299.     tooltiptext="Report a problem with this page">
  300.     <menupopup id="su_stumble_topic_menu_left_popup">
  301.     </menupopup>
  302. </toolbarbutton>
  303.  
  304. <!--
  305. <toolbarbutton id="su_thumbdown_dupe"
  306.     class="su-showtext"
  307.     collapsed="true"
  308.     label="Dupe Content"
  309.     onclick="su_handle_rate_click(event, 3)"
  310.     image="chrome://stumbleupon/content/skin/thumbdown2.png"/>
  311.  
  312. <toolbarbutton id="su_thumbdown_targeting"
  313.     class="su-showtext"
  314.     collapsed="true"
  315.     label="Bad Targeting"
  316.     onclick="su_handle_rate_click(event, 4)"
  317.     image="chrome://stumbleupon/content/skin/thumbdown2.png"/>
  318.  
  319. <toolbarbutton id="su_thumbdown_spam"
  320.     class="su-showtext"
  321.     collapsed="true"
  322.     label="Spammy"
  323.     onclick="su_handle_rate_click(event, 5)"
  324.     image="chrome://stumbleupon/content/skin/thumbdown2.png"/>
  325. -->
  326.  
  327. <div id="su_separator2"
  328.     style="height: 100%;"
  329.     collapsed="true">
  330.     <toolbarseparator
  331.         style="height: 100%;"/>
  332. </div>
  333.  
  334. <toolbarbutton id="su_tag2"
  335.     class="su-hidetext"
  336.     collapsed="true"
  337.     label=""
  338.     showlabel="&button.tag;"
  339.     tooltiptext="Tag this page"
  340.     tooltiptext2="Tag this page"
  341.     image="chrome://stumbleupon/content/skin/tag.png"
  342.     oncommand="su_handle_tag_command(true);"/>
  343.  
  344. <toolbarbutton id="su_referral_menu"
  345.     class="su-showtext"
  346.     type="menu"
  347.     collapsed="true"
  348.     label=""
  349.     showlabel="Share"
  350.     container="true"
  351.     tooltiptext="Send this page to friends"
  352.     popup="su_referral_popup"
  353.     image="chrome://stumbleupon/content/skin/icon_tb_share.png">
  354. </toolbarbutton>
  355.  
  356. <toolbarbutton id="su_referral_promo"
  357.     class="su-showtext"
  358.     collapsed="true"
  359.     label=""
  360.     showlabel="Share"
  361.     tooltiptext="Send this page to a friend"
  362.     image="chrome://stumbleupon/content/skin/icon_tb_share.png"
  363.     onclick="su_handle_promo_click(event, 'referral');"/>
  364.     
  365. <toolbarbutton id="su_website_info"
  366.     class="su-showtext"
  367.     collapsed="true"
  368.     label="&button.info;"
  369.     showlabel="&button.info;"
  370.     tooltiptext="People who like this"
  371.     image="chrome://stumbleupon/content/skin/bubble.png"
  372.     onclick="su_handle_website_info_click(event);"/>
  373.  
  374. <toolbarseparator
  375.     id="su_separator_promo"
  376.     collapsed="true"
  377.     style="height: 100%;"/>
  378.  
  379. <toolbaritem id="su_field"
  380.     align="center"
  381.     collapsed="true"
  382.     title="search">
  383.     <popupset id="su_searchpopupset">
  384.         <popup id="su_searchpopup"/>
  385.     </popupset>
  386.     <textbox id="su_searchbox"
  387.         maxrows="14"
  388.         flex="1"
  389.         autocompletepopup="su_searchpopup"
  390.         inputtooltiptext="Enter Search or Tag Terms separated by Commas"
  391.         ontextentered="su_handle_searchbox_textentered(arguments[1]);"
  392.         ontextreverted="su_handle_searchbox_textreverted()"
  393.         onpagenavigationkey="su_handle_searchbox_pagenavigationkey(arguments[1]);"
  394.         onkeyup="su_handle_searchbox_keyup(event)"
  395.         onfocus="su_handle_searchbox_focus()"
  396.         onclick="su_searchbox_click_kludge('click')"
  397.         onblur="su_handle_searchbox_blur()"
  398.         contextitemalabel="Auto"
  399.         contextitemaaccesskey="A"
  400.         contextitemaoncommand="su_set_autocomplete_type('auto');"
  401.         contextitemblabel="&menu.autocompletequeries;"
  402.         contextitembaccesskey="&menu.autocompletequeries.accesskey;"
  403.         contextitemboncommand="su_set_autocomplete_type('query');"
  404.         contextitemclabel="&menu.autocompletetags;"
  405.         contextitemcaccesskey="&menu.autocompletetags.accesskey;"
  406.         contextitemconcommand="su_set_autocomplete_type('tag');"
  407.         reflectpopuplabel="true"
  408.         sizetopopup="none"
  409.         minwidth="50"
  410.         width="150"/>    
  411. </toolbaritem>
  412. <!--
  413.     oninput="su_onSearchInput(event);"
  414.     oncommand="su_onSearchSelect(event);"
  415.     onmousedown="su_onSearchBoxMouseDown(event, this);"
  416.     onclick="su_onSearchBoxClick(event,this);"
  417. -->
  418.  
  419. <splitter id="su_splitter_search_right"
  420.     class="su_splitter"
  421.     state="open"
  422.     collapsed="true"
  423.     collapse="none"
  424.     resizebefore="closest"
  425.     resizeafter="grow"
  426.     onmousedown="return su_handle_splitter_search_right_mousedown(event);"
  427.     onmouseup="return su_handle_splitter_search_right_mouseup(event);"/>
  428.     
  429. <toolbarbutton id="su_tag"
  430.     class="su-hidetext"
  431.     collapsed="true"
  432.     label=""
  433.     showlabel="&button.tag;"
  434.     tooltiptext="Tag this page"
  435.     tooltiptext2="Tag this page"
  436.     image="chrome://stumbleupon/content/skin/tag.png"
  437.     oncommand="su_handle_tag_command(false);"/>
  438.  
  439. <toolbarbutton id="su_website_info_promo"
  440.     class="su-showtext"
  441.     collapsed="true"
  442.     label=""
  443.     showlabel="People who like this"
  444.     tooltiptext="People who like this"
  445.     image="chrome://stumbleupon/content/skin/bubble.png"
  446.     onclick="su_handle_website_info_promo_click(event, 'info');"/>
  447.     
  448. <toolbarseparator id="su_separator6"
  449.     collapsed="true"
  450.     style="height: 100%;"/>
  451.  
  452.  
  453. <hbox id="su_mode"
  454.     collapsed="true">
  455.     <vbox id="su_mode_label">
  456.         <spacer flex="1"/>
  457.         <label value="Channels:"/>
  458.         <spacer flex="1"/>
  459.     </vbox>
  460.     <toolbarbutton id="su_mode_stumbler"
  461.         class="su-hidetext"
  462.         su_ismode="1"
  463.         hidden="true"/>
  464.     <toolbarbutton id="su_mode_domain"
  465.         class="su-hidetext"
  466.         su_ismode="1"
  467.         hidden="true"
  468.         validate="never"/>
  469.     <toolbarbutton id="su_mode_all"
  470.         class="su-hidetext"
  471.         hidden="true"
  472.         su_ismode="1"
  473.         tooltiptext="Stumble all"
  474.         image="chrome://stumbleupon/content/skin/all.png"
  475.         onclick='su_handle_mode_click(event, "All");'/>
  476.     <toolbarbutton id="su_mode_friends"
  477.         class="su-hidetext"
  478.         hidden="true"
  479.         su_ismode="1"
  480.         tooltiptext="Sites from people I've subscribed to"
  481.         image="chrome://stumbleupon/content/skin/icon_tb_people.png"
  482.         onclick='su_handle_mode_click(event, "Friends");'/>
  483.     <toolbarbutton id="su_mode_photo"
  484.         class="su-hidetext"
  485.         hidden="true"
  486.         su_ismode="1"
  487.         tooltiptext="Stumble images"
  488.         image="chrome://stumbleupon/content/skin/icon_tb_photo_hover.png"
  489.         onclick='su_handle_mode_click(event, "Photos");'/>
  490.     <toolbarbutton id="su_mode_video"
  491.         class="su-hidetext"
  492.         hidden="true"
  493.         su_ismode="1"
  494.         tooltiptext="Stumble videos"
  495.         image="chrome://stumbleupon/content/skin/video.png"
  496.         onclick='su_handle_mode_click(event, "Videos");'/>
  497.     <toolbarbutton id="su_mode_more"
  498.         type="menu"
  499.         class="su-hidetext"
  500.         su_ismode="1"
  501.         hidden="true"
  502.         tooltiptext="StumbleThru a website"
  503.         image="chrome://stumbleupon/content/skin/domain.png">
  504.         <menupopup id="su_mode_more_popup"
  505.             onpopupshowing="su_handle_popupshowing(event);"
  506.             onpopuphidden="su_handle_popuphidden(event);"/>
  507.     </toolbarbutton>
  508.     <toolbarbutton id="su_mode_stumblers"
  509.         class="su-hidetext"
  510.         hidden="true"
  511.         su_ismode="1"
  512.         tooltiptext="Stumble profiles"
  513.         image="chrome://stumbleupon/content/skin/stumblers.png"
  514.         onclick='su_handle_mode_click(event, "Profiles");'/>
  515.     <toolbarbutton id="su_mode_search"
  516.         class="su-hidetext"
  517.         hidden="true"
  518.         su_ismode="1"
  519.         tooltiptext="Stumble within a query"
  520.         image="chrome://stumbleupon/content/skin/search.png"
  521.         onclick='su_handle_mode_click(event, "Search");'/>
  522.     <toolbarbutton id="su_mode_news"
  523.         class="su-hidetext"
  524.         hidden="true"
  525.         su_ismode="1"
  526.         tooltiptext="Stumble news items"
  527.         image="chrome://stumbleupon/content/skin/icon_tb_news.png"
  528.         onclick='su_handle_mode_click(event, "News");'/>
  529.     <toolbarbutton id="su_mode_wiki"
  530.         class="su-hidetext"
  531.         hidden="true"
  532.         su_ismode="1"
  533.         tooltiptext="Stumble wiki articles"
  534.         image="chrome://stumbleupon/content/skin/wiki.png"
  535.         onclick='su_handle_mode_click(event, "Wiki");'/>
  536. </hbox>
  537.  
  538. <toolbarbutton id="su_sites_promo"
  539.     class="su-showtext"
  540.     collapsed="true"
  541.     label=""
  542.     showlabel="Sites"
  543.     tooltiptext="Stumble a website"
  544.     image="chrome://stumbleupon/content/skin/all_disabled.png"
  545.     onclick="su_handle_promo_click(event, 'sites');"/>
  546.     
  547. <toolbarbutton id="su_video_promo"
  548.     class="su-showtext"
  549.     collapsed="true"
  550.     label=""
  551.     showlabel="Videos"
  552.     tooltiptext="Stumble videos"
  553.     image="chrome://stumbleupon/content/skin/video.png"
  554.     onclick="su_handle_video_promo_click(event);"/>
  555.     
  556. <toolbarseparator id="su_separator4"
  557.     collapsed="true"
  558.     style="height: 100%;"/>
  559.  
  560. <hbox id="su_filter"
  561.     collapsed="true">
  562.     <toolbarbutton
  563.         label="X"
  564.         image="chrome://stumbleupon/content/skin/x.png"
  565.         oncommand="su_handle_filter_command(2);"/>
  566.     <toolbarbutton
  567.         label="R"
  568.         image="chrome://stumbleupon/content/skin/r.png"
  569.         oncommand="su_handle_filter_command(1);"/>
  570.     <toolbarbutton
  571.         label="G"
  572.         image="chrome://stumbleupon/content/skin/g.png"
  573.         oncommand="su_handle_filter_command(0);"/>
  574.     <toolbarseparator id="su_separator8"/>
  575. </hbox>
  576.  
  577. <toolbarbutton id="firstrater"  class="su-showtext" collapsed="true" label="" tooltiptext="" image="chrome://stumbleupon/content/skin/firstrater.png" onclick="firstrater_func(event);"/>
  578.  
  579. <toolbarbutton id="su_stumble_topic" class="su-hideicon-showtext" collapsed="true" label="" tooltiptext="This is the category of the current page"/>
  580.  
  581. <toolbarbutton 
  582.     id="su_stumble_topic_menu_right" 
  583.     class="su-hideicon-showtext" 
  584.     collapsed="true" 
  585.     label="" 
  586.     type="menu"
  587.     tooltiptext="Report a problem with this page">
  588.     <menupopup id="su_stumble_topic_menu_right_popup">
  589.     </menupopup>
  590. </toolbarbutton>
  591.  
  592. <toolbarseparator id="su_separator7"
  593.     collapsed="true"
  594.     style="height: 100%;"/>
  595.  
  596. <!-- <toolbarbutton id="su_aboutme"  class="su-hidetext" collapsed="true" label="" showlabel="&button.profile;" tooltiptext="&button.profile.tooltip;" image="chrome://stumbleupon/content/skin/profile.png" onclick="su_redir_tab(event,'home');"/> -->
  597. <toolbarbutton id="su_profile"  class="su-hidetext" collapsed="true" label="" showlabel="Favorites" tooltiptext="Things I have liked" image="chrome://stumbleupon/content/skin/icon_tb_favorites_hover.png" onclick="su_redir_tab(event,'');"/>
  598. <toolbarbutton id="su_aboutme"  class="su-hidetext" collapsed="true" label="" showlabel="What's New" tooltiptext="Recent activity from subscriptions" image="chrome://stumbleupon/content/skin/icon_tb_user_comment.png" onclick="su_redir_tab(event,'home');"/>
  599. <toolbarbutton id="su_friends"  class="su-showtext" collapsed="true" label="" showlabel="&button.friends;" tooltiptext="&button.friends.tooltip;" image="chrome://stumbleupon/content/skin/friend.png" onclick="su_redir_tab(event,'friends');"/>
  600. <toolbarbutton id="su_messages" class="su-hidetext" collapsed="true" label="" showlabel="&button.messages;" tooltiptext="&button.messages.tooltip;" image="chrome://stumbleupon/content/skin/mail.png" onclick="su_redir_tab(event,'inbox');"/>
  601.  
  602. <toolbarbutton id="su_page_feature_prompt"
  603.     class="su-showtext"
  604.     collapsed="true"
  605.     label=""
  606.     showlabel="See ratings on results"
  607.     tooltiptext="See who likes your search results"
  608.     image="chrome://stumbleupon/content/skin/bubble.png"
  609.     onclick="su_handle_page_feature_prompt_click(event);"/>
  610.     
  611. <toolbarbutton id="su_groups"   class="su-hidetext" collapsed="true" label="" showlabel="&button.groups;" tooltiptext="Group conversations" image="chrome://stumbleupon/content/skin/forum.png" onclick="su_redir_tab(event,'groups');"/>
  612. <toolbarbutton id="su_network"  class="su-hidetext" collapsed="true" label="" showlabel="Classic Network" tooltiptext="Classic network" image="chrome://stumbleupon/content/skin/stumblers.png" onclick="su_redir_tab(event, 'network');"/>
  613. <!-- <toolbarbutton id="su_forum"    class="su-hidetext" collapsed="true" label="" showlabel="Classic Forums" tooltiptext="Classic forums" image="chrome://stumbleupon/content/skin/legacy_forum.png" onclick="su_redir_tab(event,'forum');"/> -->
  614. <toolbarbutton id="su_matches"  class="su-hidetext" collapsed="true" label="" showlabel="Find People" tooltiptext="Browse people by interest, age, location" image="chrome://stumbleupon/content/skin/icon_tb_search_user.png" onclick="su_redir_tab(event,'matches');"/>
  615.  
  616. <!-- may be obsolete -->
  617. <toolbarseparator id="su_separator5"
  618.     collapsed="true"
  619.     style="height: 100%;"/>
  620.  
  621.  
  622. <toolbarbutton id="su_sponsor"  class="su-hidetext" collapsed="true" tooltiptext="" image="chrome://stumbleupon/content/skin/sponsor.png" onclick="su_handle_sponsor_click(event);"/>
  623.  
  624. <toolbarbutton id="su_myinfo" class="su-showtext" collapsed="true" label="" showlabel="Preferences" tooltiptext="&button.edit.tooltip;" image="chrome://stumbleupon/content/skin/editinfo.png" onclick="su_redir_tab(event,'prefs');"/>
  625.  
  626. <toolbarbutton id="su_bug"
  627.     class="su-hidetext"
  628.     collapsed="true"
  629.     tooltiptext="Submit a bug report via e-mail"
  630.     image="chrome://stumbleupon/content/skin/bug.png"
  631.     oncommand="su_handle_bug_command();"/>
  632.     
  633. <toolbarbutton id="su_stumble_menu"
  634.     type="menu"
  635.     class="su-showtext"
  636.     container="true"
  637.     collapsed="true"
  638.     label="Tools"
  639.     showlabel="Tools"
  640.     tooltiptext="Configuration and reporting tools">
  641.     <menupopup id="su_stumble_popup">
  642.         <menu id = "su_stumble_report_menu"
  643.             label="Report this stumble as"
  644.             tooltiptext="Report...">
  645.             <menupopup id="su_stumble_report_popup"
  646.                 onpopupshowing="su_prepare_stumble_report_menu(event, null);"/>
  647.         </menu>
  648.         <menuitem label="Toolbar Options..." tooltiptext="Change preferences for this toolbar" oncommand="su_preferences();"/>
  649.         <menuitem label="Account Settings" tooltiptext="Change your StumbleUpon account settings" onclick="su_redir_tab(event,'prefs');"/>
  650.         <menuitem label="&menu.updateinterests;" tooltiptext="Sign up for new topics" oncommand="su_interests();"/>
  651.         <menuitem label="View Suggested Topics" tooltiptext="Suggest additional topics you may be interested in" oncommand="su_suggest();"/>
  652.         <menuitem class="menuitem-iconic" image="chrome://stumbleupon/content/skin/friend.png" label="Find people you know..." tooltiptext="Invite friends to join StumbleUpon" onclick="su_invite(event);"/>
  653.         <menuseparator/>
  654.         
  655.         <menuitem label="Change Password..." tooltiptext="Change your password" oncommand="su_handle_change_password();"/>
  656.         <menuitem type="checkbox" autocheck="false" checked="true" label="Sign-in..." tooltiptext="Sign in to a different StumbleUpon account" oncommand="su_show_signin_dialog();"/>
  657.         <menuitem label="Sign-out..." tooltiptext="Sign out from this account" oncommand="su_handle_logout(false);"/>
  658.     
  659.         <menuseparator/>
  660.         
  661.         <menuitem label="Toolbar Guide" tooltiptext="View the toolbar primer" oncommand="getBrowser().contentDocument.location=su_serverhttp + 'guide.html'"/>
  662.         <menuitem label="Help" tooltiptext="Frequently Asked Questions" oncommand="getBrowser().contentDocument.location=su_serverhttp + 'faq.html'"/>
  663.         <menu label="About StumbleUpon" tooltiptext="Get help with StumbleUpon">
  664.             <menupopup>
  665.                 <menuitem label="&menu.stumblehome;" tooltiptext="StumbleUpon.com Home Page" oncommand="getBrowser().contentDocument.location=su_serverhttp"/>
  666.                 <menuitem label="Help Forum" tooltiptext="Get help from other stumblers" oncommand="getBrowser().contentDocument.location='http://getsatisfaction.com/stumbleupon/products/stumbleupon_stumbleupon_toolbar'"/>
  667.                 <menuitem label="Stumble News" tooltiptext="Read the latest news about StumbleUpon services" oncommand="getBrowser().contentDocument.location=su_serverhttp + 'news.php'"/>
  668.                 <menuitem label="&menu.topstumblers;" tooltiptext="See the most helpful stumblers" oncommand="getBrowser().contentDocument.location=su_serverhttp + 'topstumblers.php'"/>
  669.                 <menuseparator/>
  670.                 <menuitem label="&menu.contact;" tooltiptext="Send questions or comments to StumbleUpon" oncommand="su_feedback();"/>
  671.                 <menuitem label="Privacy Policy" tooltiptext="View StumbleUpon's privacy policy" oncommand="getBrowser().contentDocument.location=su_serverhttp + 'privacy.html'"/>
  672.                 <menuitem label="Uninstall Instructions" tooltiptext="Learn how to uninstall the toolbar" oncommand="getBrowser().contentDocument.location=su_serverhttp + 'help/How_do_I_uninstall_the_toolbar/'"/>
  673.                 <menuitem label="Toolbar Version" tooltiptext="Your current toolbar version, along with new versions" oncommand="su_about();"/>
  674.             </menupopup>
  675.         </menu>
  676.     </menupopup>
  677. </toolbarbutton>
  678.  
  679. <toolbarseparator id="su_separator3"
  680.     collapsed="true"
  681.     style="height: 100%;"/>
  682.  
  683.  
  684. <toolbarbutton id="su_grab"     class="su-showtext" label="G" collapsed="true" tooltiptext="Next" image="chrome://stumbleupon/content/skin/stumble.png" oncommand="su_grab();"/>
  685. <toolbarbutton id="su_approve"  class="su-showtext" label="OK" collapsed="true" tooltiptext="Approve" image="chrome://stumbleupon/content/skin/thumbup.png" oncommand="su_approve();"/>
  686.  
  687. <toolbarbutton id="su_idx"                          label="IDX" collapsed="true" tooltiptext="Direct to IDX" image="chrome://stumbleupon/content/skin/thumbup.png" oncommand="toidx();"/>
  688. <toolbarbutton id="su_tld"                          label="TLD" collapsed="true" tooltiptext="Go to TLD for this page" image="chrome://stumbleupon/content/skin/arrow.png" oncommand="grab_tld();"/>
  689.  
  690. <toolbarbutton id="su_grab_category"
  691.     type="menu"
  692.     class="su-showtext"
  693.     contain="true"
  694.     collapsed="true"
  695.     label='topic'>
  696.     <menupopup class="topic-selector">
  697.     </menupopup>
  698. </toolbarbutton>
  699.  
  700. <vbox id="su_site-count-box"
  701.     collapsed="true">
  702.     <spacer flex="1"/>
  703.     <description id="su_site-count"
  704.         class="inbox"
  705.         value=""
  706.         tooltiptext=""/>
  707.     <spacer flex="1"/>
  708. </vbox>
  709.  
  710. <toolbarbutton id="su_overflow_menu"
  711.     type="menu"
  712.     width="20px"
  713.     collapsed="true"
  714.     image="chrome://stumbleupon/content/skin/chevron.png">
  715.     
  716.     <menupopup id="su_overflow_popup"
  717.         onpopupshowing="su_handle_popupshowing(event)"
  718.         onpopuphidden="su_handle_popuphidden(event)"/>
  719.     
  720. </toolbarbutton>
  721.  
  722. </hbox>
  723.  
  724. <hbox id="su_render"
  725.     class="chromeclass-extrachrome"
  726.     width="0"
  727.     height="0"/>
  728.  
  729. </toolbar>
  730. <toolbar id="su_info_toolbar"
  731.     class="chromeclass-toolbar"
  732.     customizable="false"
  733.     collapsed="true"/>
  734. </toolbox>
  735.  
  736. </overlay>
  737.